package com.maple.common.widget.view

import android.content.Context
import android.util.AttributeSet
import android.view.MotionEvent

class NoneImageButton: androidx.appcompat.widget.AppCompatImageButton{
    constructor(context: Context) : this(context, null)

    constructor(context: Context, attributeSet: AttributeSet?) : this(context, attributeSet, 0)

    constructor(context: Context, attributeSet: AttributeSet?, defStyleAttr: Int) : super(
        context,
        attributeSet,
        defStyleAttr
    ) {
        initView(
            context,
            attributeSet,
            defStyleAttr
        )
    }

    private fun initView(context: Context, attributeSet: AttributeSet?, defStyleAttr: Int = 0) {

    }


    override fun onTouchEvent(event: MotionEvent?): Boolean {
//        return super.onTouchEvent(event)
        return false
    }

}